﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Perform
{
    public partial class frmInventory : Form
    {
        public frmInventory()
        {
            InitializeComponent();
        }

        private void btnInsert_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmInventorySelect frmInventory = new frmInventorySelect();
            frmInventory.TopLevel = false;
            palCenter.Controls.Add(frmInventory);
            frmInventory.Show();

        }

        private void palCenter_Paint(object sender, PaintEventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            palCenter.Controls.Clear();
            frmInventorySelectOne frmInventory = new frmInventorySelectOne();
            frmInventory.TopLevel = false;
            palCenter.Controls.Add(frmInventory);
            frmInventory.Show();
        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }
    }
}
